package com.example.conf.teea;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 账户提现记录表
 * </p>
 *
 * @author wpdcn
 * @since 2020-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_account_withdraw")
public class SysAccountWithdrawEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @Column(comment = "主键id")
    private Long id;

    /**
     * 账户id
     */
    @Column(comment = "账户id")
    private Long accountId;

    /**
     * 提现金额，单位元
     */
    @Column(comment = "提现金额，单位元")
    private Double amt;

    /**
     * 实际提现金额，扣除手续费之后的金额
     */
    @Column(comment = "实际提现金额，扣除手续费之后的金额")
    private Double realAmt;

    /**
     * 状态：1申请中；2同意；3拒绝
     */
    @Column(comment = "状态：1申请中；2同意；3拒绝")
    private Integer status;

    /**
     * 创建人
     */
    @Column(comment = "创建人")
    private Long createBy;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createTime;

    /**
     * 审批人
     */
    @Column(comment = "审批人")
    private Long approvalId;

    /**
     * 审批时间
     */
    @Column(comment = "审批时间")
    private LocalDateTime approvalTime;

    /**
     * 备注
     */
    @Column(comment = "备注")
    private String remark;


}
